package kr.hkit.powerjava.chapter04;

import java.util.Scanner;

public class Exchange {
	
	public static void main(String[] args) {
		
		Scanner input = new Scanner(System.in);
		
		double rate = 1392.83;
		
		System.out.print("원을 입력: ");
		int won = input.nextInt();
		
		double dollar = won / rate;
		
		System.out.println(won + "원은 " + dollar + "달라");
		
	}
	
}
